"""
# -*- coding: utf-8 -*-
# @Time    : 2023/5/31 16:55
# @Author  : 王摇摆
# @FileName: Data.py
# @Software: PyCharm
# @Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
"""
import numpy as np

# 坐标轴起始点
from LR.EXP1.Data import createTrainDatasWithNoise

start = -10
# 坐标轴结束点
end = 10
# 目标权重系数
W = np.array([2])
# 创建线性可分的训练数据集
X, y = createTrainDatasWithNoise(W, start, end, 10, 0.4)
